package com.snail.generator.mapper;

import com.snail.generator.entity.ColumnInfo;
import com.snail.generator.entity.TableInfo;

import java.util.List;

public interface GeneratorMapper {

    /** 获取所有数据库名 */
    List<String> queryDatabase();

    /** 获取数据库下所有表信息 */
    List<TableInfo> queryTable();

    List<ColumnInfo> queryColumn(String tableName);
}
